]> dgit.raspbian.org Git - gnome-shell.git/commit
layout: Catch async errors
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 12 Feb 2026 13:48:36 +0000 (14:48 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Sat, 14 Mar 2026 17:43:04 +0000 (18:43 +0100)
commite25ca28dbf8789b4ec82769ed5afc47e69a13089
treea7dbba5f3df60ef1f772b416f3ba411d2cde5e7a
parent66febe7d834e43c6e300e04d68427d0e1ea6111e
layout: Catch async errors

It is good practice to avoid "unhandled promise rejection" errors,
even when a function is not expected to reject.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4070>
(cherry picked from commit c89d2061b38aa69f3aaafeb594d598c07b14721b)
js/ui/layout.js